<!--
# Copyright (c) 2012-2021 Contributors to the Eclipse Foundation
# 
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
# 
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
# 
# SPDX-License-Identifier: EPL-2.0
#
-->
<html>
<head>
<title>ism.doh Unit Test Runner</title>
<script type="text/javascript">
    function getUrlVars() {
        var vars = {};
        var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
                function(m, key, value) {
                    vars[key] = value;
                });
        return vars;
    }
    var test = getUrlVars()["test"];
    test = test ? test : "module";
    
    var allowedEntries = ["module","preferencesModule"];
    if (allowedEntries.indexOf(test) < 0) {
       test = "module";
    }
    window.location = "js/dojotoolkit/util/doh/runner.html?sandbox=true&paths=ism,../../ism&test=ism/tests/" + test;
</script>
</head>
</html>
